'''
Created on Apr 20, 2012

@author: root
'''

from Base import Base
from NodeInfo import NodeInfo
from XML_File import XML_File
from User import User


import threading
import os
import shutil
import datetime
import getpass

class KerberosSetup(Base):
   
    Nodes = []
    Users = []
    baseDir = ""
    goldDir = ""
    prevDir = ""
    nodeInfo = object
    
    
  
      

    def __init__(self,Nodes,Users,baseDir):
        self.Users = Users
        self.Nodes = Nodes
        Base.__init__(self)
        Base.SetUsers(self,self.Users)
        
        self.baseDir = baseDir
        self.goldDir = self.baseDir + "/gold"
        self.previousDir = self.baseDir + "/previous"
        
        

        self.nodeInfo = NodeInfo(self.Nodes,self.Users)
